import { objDeepCopy,getDateString } from "@/assets/js/common.js";
import commonObject from "@/assets/js/xm.js";
let Controller = {
	created() {
		
	},
	mounted() {
		
	},
	methods: {
		//打开弹窗
		openPop(type){
			this.Model.popType=type
			this.$refs['popExpand'].show=true
		},
		//打开弹窗事件参数
		openPopEventOption(type){
			let option={
				popType:type,//1收取现金弹窗、2取消收取现金弹窗、3存入银行弹窗、4取消存入银行弹窗
			}
			switch(type){
				case '1':
				option.title='收取现金'
				option.tableHeader=[...this.Model.popTable_A]
				break;
				case '2':
				option.title='取消收取现金'
				option.tableHeader=[...this.Model.popTable_B]
				break;
				case '3':
				option.title='存入银行'
				// option.tableHeader=[...this.Model.popTable_C]
				break;
				case '4':
				option.title='取消存入银行'
				option.tableHeader=[...this.Model.popTable_D]
				break;
			}
			return option
		},
		handleSelectionChange(val) {
			// this.Model.TableSelectData = val;
		},
		handleCurrentChange(val) {
			// var searchFromData = this.Model.searchFromData;
			// this.getAllsoledList(this,searchFromData,val);
		},
		handleSizeChange(val) {
			// var searchFromData = this.Model.searchFromData;
			// this.getAllsoledList(this,searchFromData,undefined,val);
		},
		toSearch(val) {
			var searchFromData = this.Model.searchFromData;
			this.getAllsoledList(this,searchFromData);
		}
	}
}
export default Controller;